<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
	<title>CRM</title>
	<link rel="stylesheet" href="css/bootstrap.min.css" />
	<link rel="stylesheet" href="css/bootstrap-responsive.min.css" />
</head>
<body>
	<%@ include file="include/loginhead.jsp" %>
	
	<div class="container" style="margin-top:60px">
			<h4 class="page-header">
				 激活账户
			</h4>
			
			<div class="alert alert-success">
				账户激活成功，您的用户名是：${param.email}<br/>
				将在<span id="time"></span>秒后跳转到登录页面，或点击<a href="/crm/index.jspx">立即跳转</a>。
			</div>
	</div>
	
	<script type="text/javascript" src="js/jquery-1.7.1.min.js"></script>
	<script type="text/javascript">
		$(function() {
			var count = 0;
			$("body").load(setTimeout(function() {
				window.location = "index.jspx";
			}, 5000));
			setTime();
			function setTime() {
				$("#time").text(5 - count);
				count++;
				setTimeout(setTime, 1000);
			}
		});
	</script>
</body>
</html>